unit Encryptintf;
 {$weakpackageunit on}
interface

 type
   IEncrypt=interface
   ['{D87AD2A5-608E-48BD-B644-C1D157521C76}']
    function GetHardDiskId():string;
    function MD5Encrypt(lpInBuffer:PChar; length:Integer):string;
    function BlowFishEncrypt(lpInBuffer:PChar; lpKey:PChar):string;
    function BlowFishDecrypt(lpInBuffer:PChar; lpKey:PChar):string;
    function SHAEncrypt(lpInBuffer:PChar; length:Integer):string;
    function Secret16Encrypt(lpInBuffer:PChar; lpKey:PChar):string;
    function EncryptStringFun1(lpInBuffer:PChar; lpKey:PChar):string;
    function DecryptStringFun1(lpInBuffer:PChar; lpKey:PChar):string;
    function EncryptStringFun2(lpInBuffer:PChar; lpKey:PChar):string;
    function DecryptStringFun2(lpInBuffer:PChar; lpKey:PChar):string;
    function RSAEncrypt(lpInBuffer:PChar; lpDdata:PChar; lpNdata:PChar; Mode:Integer):string;
    function RSADecrypt(lpInBuffer:PChar; lpNdata:PChar; Mode:Integer):string;
    function CRCFileCheck(FileNameStr:PChar):string;
    function FileEncrypt(lpInputFileName:PChar; lpOutputFileName:PChar; lpKey:PChar):string;
    function FileDecrypt(lpInputFileName:PChar; lpOutputFileName:PChar; lpKey:PChar):string;
    function Base64Encode(lpInBuffer:PChar):string;
    function Base64Decode(lpInBuffer:PChar):string;
    function CRC32(lpInBuffer:PChar; length:Integer):string;
    function GetDllVersion():string;
    function GetMainBoardId():string;
    function DesEncrypt(lpInBuffer:PChar; lpKey:PChar):string;
    function DesDecrypt(lpInBuffer:PChar; lpKey:PChar):string;
   end;

implementation

end.
